<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/include/common_tag.jsp" %>
<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">新增</h3>
	</div>
	<div class="panel-body">
		<form:form cssClass="form-horizontal" role="form" id="form">
			<input type="hidden" id="id" name="id" value="${forumSorterPostV.id}"/>
			<div class="form-group">
				<label for="theme" class="col-xs-12 col-sm-3 control-label no-padding-right">主题:</label>
				<div class="col-xs-12 col-sm-4">
					<input type="text" id="theme" name="theme"  class="width-100" value="${forumSorterPostV.theme}" required=true  maxLength="50" />
					<span class="required">*</span>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label for="content" class="col-xs-12 col-sm-3 control-label no-padding-right">内容:</label>
				<div class="col-xs-12 col-sm-4">
					<input type="text" id="content" name="content"  class="width-100" value="${forumSorterPostV.content}" required=true  maxLength="200" minLength="6"/>
					<span class="required">*</span>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label for="address" class="col-xs-12 col-sm-3 control-label no-padding-right">发帖人:</label>
				<div class="col-xs-12 col-sm-4">
					<input type="text" id="authUserName" name="authUserName" class="width-100" value="${forumSorterPostV.authUserName}" required=true  maxLength="30" minLength="2"/>
					<span class="required">*</span>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label for="address" class="col-xs-12 col-sm-3 control-label no-padding-right">发帖时间:</label>
				<div class="col-xs-12 col-sm-4">
					<div class="input-group date form_datetime">
						<input class="form-control" id="postDateStr" name="postDateStr" type="text" value="${forumSorterPostV.postDateStr}"/>
						<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
					</div>

				</div>
				
			</div>
			<div class="space-12"></div>
			<div class="form-group" style="text-align: center;">
				<div class="col-sm-9">
					<button id="returnBtn" type="button" class="btn btn-default btn-sm no-border">
						<i class="fa fa-undo"></i>返回
					</button>
					<button id="saveBtn" type="button" class="btn btn-success btn-sm no-border">
						<i class="fa fa-check"></i>提交
					</button>
				</div>
			</div>
		</form:form>
	</div>
</div>